<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查看学生</title>
</head>
<body>
<h3 align="center">用户信息</h3>
<table align="center" border="1px" width="300px">
    <tr align="center"><td>ID</td><td>姓名</td><td>年龄</td></tr>
    <c:forEach items="${user}" var="u">
    <tr align="center"><td>${u.id}</td><td>${u.name}</td><td>${u.age}</td></tr>
    </c:forEach>
</body>
</html>